package com.itheima.tlias84.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 班级分页查询返回数据
 */
@Data
public class SelectClazzDTO {
    private int id;
    private String name;
    private String room;
    private Integer state;
    private LocalDate beginDate;
    private LocalDate endDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    private String masterName;

}
